package com.csun.cmny.provider.service.impl;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.model.domain.DmcRfidLabelRoleTime;
import com.csun.cmny.provider.service.DmcRfidLabelRoleTimeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2020-09-01 19:53
 * @Description:
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class DmcRfidLabelRoleTimeServiceImpl extends BaseService<DmcRfidLabelRoleTime> implements DmcRfidLabelRoleTimeService {


    /**
     * 设置时间段
     *
     * @param dmcRfidLabelRoleTime
     * @param loginAuthDto
     *
     * @return
     */
    @Override
    public Integer setTime(DmcRfidLabelRoleTime dmcRfidLabelRoleTime, LoginAuthDto loginAuthDto) {

        dmcRfidLabelRoleTime.setUpdateInfo(loginAuthDto);

        return null;
    }
}
